<?php
/**
 * Created by PhpStorm.
 * User: RagPanda
 * Date: 2016/3/9
 * Time: 11:56
 */

namespace App\Http\Controllers\User;


use App\Http\Controllers\Controller;
use MyClass\Admin\ArticleClassBase;
use MyClass\Admin\ArticleBase;



class BaseController extends Controller
{
    public function index()
    {

        $data['classData']=ArticleClassBase::sClass();
        $data['articleData']=ArticleBase::allArticle();
        return view("User.Index.home",$data);
    }
}